<div class="d-flex" mat-dialog-title>
  <span
    class="flex-grow-1 text-truncate"
    [ngClass]="{ 'text-center': position === 'center' }"
    >{{ title }}</span
  >
  @if (deviceType !== 'mobile') {
    <button class="no-min-width px-0" mat-button (click)="onClickCloseButton()">
      <ion-icon name="close" size="large" />
    </button>
  }
</div>
